package cn.hh.nacos;


import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/info")
@ResponseBody
public class ProviderController {

    @PostMapping("/list")
    public Map<String,Object> list(@RequestParam Map<String,Object> param){

        System.out.println("我被调用了==============");

        Map<String,Object> result = new HashMap<String, Object>();
        result.put("code","0");
        result.put("message","成功");
        result.put("list","");
        return result;
    }
}
